package com.kongmou.springReview.advanced.springAdware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestSpringAdware {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringAdwareConfig.class);
		AdwareService adwareService = context.getBean(AdwareService.class);
		adwareService.outputResult();
		context.close();

	}

}
